package com.cyou.nad.datastore;

import java.io.Serializable;

/**
 * 类似table head 用于定义数据集的一些属性
 * @author lzm 
 */
public class Header implements Serializable, Cloneable {

	private static final long serialVersionUID = 3692418330110761360L;

	/**
	 * 保留字段 ，将来使用
	 */
	private String lable;

	/**
	 * 列的数据值类型
	 */
	private ColType colType;

	public Header() {
		super();
	}

	public Header(String lable, ColType colType) {
		super();
		this.lable = lable;
		this.colType = colType;
	}

	@Override
	public Object clone() throws CloneNotSupportedException {
		return super.clone();
	}

	/**
	 * @return the colType
	 */
	public ColType getColType() {
		return colType;
	}

	/**
	 * @return the lable
	 */
	public String getLable() {
		return lable;
	}

	/**
	 * @param colType the colType to set
	 */
	public void setColType(ColType colType) {
		this.colType = colType;
	}

	/**
	 * @param lable
	 *            the lable to set
	 */
	public void setLable(String lable) {
		this.lable = lable;
	}

}